package com.example.lib;

public class RubberDuck extends Duck{
    @Override
    public void display() {
        System.out.println("I'm RubberDuck");
    }
    RubberDuck() {
        flyBehavior = new FlyNoWay();
        quackBehavior = new Quack();
    }
}
